package com.yx.modules.api.dao;

import com.yx.modules.api.entity.TbAuthorApply;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 普通作者申请
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-07-02 10:26:26
 */
@Mapper
@Repository
public interface TbAuthorApplyDao extends BaseDao<TbAuthorApply> {

    List<TbAuthorApply> findAllByUser(Integer userId);

    List<TbAuthorApply> findAllBySysUser(Integer userId);
}
